package com.estun.backroundManagementService.domain.factoryMes.request;

import com.estun.backroundManagementService.domain.factoryMes.request.base.BaseMesRequest;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author yusiocng
 * @date 2023/12/20
 * @description 告警推送类
 */
@Data
public class PushDeviceStatusRequest extends BaseMesRequest {

    /**
     * 机台编码
     */
    private String machineCode;
    private String lineCode;
    private String stationCode;
    private String machineStatusCode;
    /**
     * 数采设备编码
     */
    private String acquisitCode;
    private LocalDateTime machineStatusBegin;
    private LocalDateTime machineStatusEnd;
    private LocalDateTime editTime;
    private Integer statusType;
    private List<Failure> failure;

    @Data
    public static class Failure {
        private String failureCode;
        private String failureType;
        private String failureDescription;

    }

}
